package cn.itcast.tools.java随机数;

public class method2 {
    public static void main(String[] args)
    {
        int max=100,min=1;
        int ran2 = (int) (Math.random()*(max-min)+min);
        System.out.println(ran2);
    }
}
